package com.maimao.mg.repository;

import com.maimao.model.info.MgCoupon;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.Optional;

/**
 * @author MaoLin Wang
 * @date 2021/1/7 11:46 下午
 */
public interface MgCouponMapper extends MongoRepository<MgCoupon,Long> {

    Optional<MgCoupon> findMgCouponById(Long id);
}
